﻿@model List<KuaJing.Common.Domain.ExchangeRate>
@using Inovout.Descriptor

<div class="model form-horizontal">
    @using (Html.BeginForm())
    {
        <div class="row form-group">
            @Html.Label("发布日期", new { @class = "col-xs-4 control-label" })
             <div class="col-xs-5">
                @Html.TextBox("publishTime", Model.First().PublishTime.ToString("yyyy-M-d"), new { type = "date", data_sync = "publishTime" })
                @Html.ValidationMessage("publicTime")
            </div>
        </div>      for (int i = 0; i < Model.Count; i++)
        {


            <div class="row form-group">
                @Html.Label(Model[i].Currency.ToAlias(), new { @class = "col-xs-4 control-label" })
                @Html.HiddenFor(m => m[i].Currency)
                @Html.HiddenFor(m => m[i].PublishTime, new { data_sync = "publishTime" })
                <div class="col-xs-5">
                    @Html.EditorFor(m => m[i].BidRate, new { @class = "form-control" })
                    @Html.ValidationMessageFor(m => m[i].BidRate)
                </div>
            </div>
    }     <hr>
        <div class="btn-wrapper form-group">
            @Html.Submit("保存", new { @class = "btn btn-default btn-primary" })
        </div>
    }
</div>

